package cn.ywang.pattern;

import org.aspectj.lang.annotation.Before;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author BeatificWang
 * @date 2019/3/22 21:53
 */
@Service
public class MyService {

	@Autowired
	private Case testcase;

	@Before("myAspect")
	public void invokeGet() {
		this.testcase.getName();
	}
}
